package com.woniuxy.service;

import com.woniuxy.entity.Merchants;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.Warehouse;

import java.util.List;

public interface WarehouseService {
    ResponseEntity findAll();

    ResponseEntity findOne(String id);

    ResponseEntity addOne(Warehouse warehouse);

    ResponseEntity updateOne(Warehouse warehouse);

    ResponseEntity deleteOne(String id);

    ResponseEntity findAll(int currentPage, int pageSize);

    ResponseEntity findByName(int currentPage, int pageSize,String name);

    ResponseEntity deleteSome(int[] id);

    ResponseEntity findByCode(String warehouse_id);

    ResponseEntity findByWname(String name);

    ResponseEntity importExcel(List<Warehouse> list);
}
